package com.opengate.gateway.filter;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 曳戈泰尔
 * @version 1.0
 * @description 认证配置
 * @date 2023/4/27 9:53 PM
 */
@Data
@Configuration
@ConfigurationProperties("spring.security")
public class AuthProperties {

  /** 资源名单 */
  private List<String> resource = new ArrayList<>();

  /** 白名单 */
  private List<String> whites = new ArrayList<>();

  /** 阻塞名单配置 */
  private List<String> blocks = new ArrayList<>();
}
